package io.nads.constant;

import opennlp.tools.stemmer.snowball.finnishStemmer;

public class RedisConstant {
    // 七牛云TTS语音缓存key
    public static final String QINIU_TTS_VOICE_KEY = "qiniu:tts:voice";
    // 用户邮箱验证码key
    public static final String USER_EMAIL_CODE_KEY_PREFIX = "user:email:code:";
    public static final Long USER_EMAIL_CODE_EXPIRE = 60 * 5L;
    // 用户id缓存
    public static final String USER_TOKEN_KEY_PREFIX = "user:login:token:";
    public static final Long USER_TOKEN_EXPIRE = 60 * 60L;
    // TTS url 缓存
    public static final String QINIU_TTS_URL_KEY_PREFIX = "qiniu:tts:url:";

    // 音色的过期时间
    public static final Long EXPIRE_VOICE_KEY = 120L;

    // 当前chatSessionID缓存key前缀
    public static final String CHAT_SESSION_ID_KEY_PREFIX = "chat:session:id:";
    // 当前chatSession用的音色缓存key前缀
    public static final String CHAT_SESSION_VOICE_KEY_PREFIX = "chat:session:voice:";
    // 当前chatSession用的topic缓存key前缀
    public static final String CHAT_SESSION_TOPIC_KEY_PREFIX = "chat:session:topic:";
}
